﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Frame.Lib.Core.Attach;

namespace Jzy.Model.Project
{
    public partial class PrjBugInfo
    {
        public string PrjName
        {
            get;
            set;
        }

        public string TypeName
        {
            get;
            set;
        }

        public Func<int, List<ImageInfo>> GetPictures;
        private List<ImageInfo> _pictures;
        public List<ImageInfo> Pictures
        {
            get
            {
                if (_pictures == null)
                {
                    _pictures = GetPictures(this.ID);
                }
                return _pictures;
            }
            set
            {
                _pictures = value;
            }
        }
    }
}
